#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QColor>
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private slots:
    void on_ColorpushButton_clicked();

    void on_BoldpushButton_clicked(bool checked);

    void on_ItalicpushButton_clicked(bool checked);

    void on_UnderlinepushButton_clicked(bool checked);

    void on_SizecomboBox_currentIndexChanged(const QFont &ft);

    void on_SendpushButton_clicked();

    void on_UsertableWidget_customContextMenuRequested(const QPoint &pos);

private:
    Ui::Widget *ui;
    QColor color;
};
#endif // WIDGET_H
